package org.huntaway.kernel.mode.state;

import org.huntaway.kernel.mode.state.imp.Mad;
import org.huntaway.kernel.mode.state.model.MoodState;

public class Person {
	private MoodState state;

	public Person() {
		state = new Mad(this);
	}

	public void setState(MoodState state) {
		this.state = state;
	}

	public void doSomething() {
		state.doSomething();
		state.changeState();
	}
}
